﻿using QMERP.SeedWork;

namespace QMERP.Domain.Entities
{
    /// <summary>
    /// 字典值
    /// </summary>
    public partial class Dictionary : FullEntity<long>
    {
        /// <summary>
        /// 字典名称
        /// </summary>
        public string Name { get; set; } = "";
        /// <summary>
        /// 字典英文名称
        /// </summary>
        public string? ENName { get; set; }
        /// <summary>
        /// 字典值
        /// </summary>
        public string Value { get; set; } = "";
        /// <summary>
        /// 排序
        /// </summary>
        public int? Sort { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 字典类型Id
        /// </summary>
        public long DictionaryCategoryId { get; set; }
        /// <summary>
        /// 字典类型
        /// </summary>
        public virtual DictionaryCategory? DictionaryCategory { get; set; }
    }
}